package org.qy.star_server.core;

import lombok.Data;
import org.qy.star_common.message.Consumer;

/**
 * @author yinger
 * @description 令牌，虚拟机队列消息消费的凭证
 * @date 2024/3/27 14:44
 **/
@Data
public class Token {
    private String username;
    private String virtualHostName;
    private String queueName;
    public Token(String username, String virtualHostName, String queueName) {
        this.username = username;
        this.virtualHostName = virtualHostName;
        this.queueName = queueName;
    }
}
